/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconBrowseOff: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M211.616 198.72l3.008 2.656 8.448 8.512c1.12 1.696 2.432 3.264 3.904 4.736L826.56 814.144a32 32 0 0 1-46.176 43.136l-3.008-2.656-91.2-91.136A431.872 431.872 0 0 1 512 800c-160.768 0-305.44-86.784-432.992-257.152l-8.896-12.032L56.416 512l13.696-18.816C123.712 419.52 180.352 360.8 240 317.248L169.376 246.624a32 32 0 0 1 42.24-47.904z m74.208 164.352c-46.72 32.736-91.904 76.224-135.616 130.656l-10.88 13.824-3.392 4.448 3.392 4.448c107.84 139.584 224.736 211.744 351.424 218.944l10.88 0.48L512 736c42.72 0 84.352-7.232 124.896-21.824l-57.152-57.184a160 160 0 0 1-212.736-212.704l-81.184-81.216zM512 224c160.768 0 305.44 86.784 432.992 257.152l8.896 12.032 13.696 18.816-13.696 18.816c-49.216 67.648-100.992 122.688-155.296 164.96l-45.6-45.632c41.6-31.392 82.016-71.488 121.216-120.416l10.464-13.28 3.36-4.448-3.36-4.448c-107.84-139.584-224.736-211.744-351.424-218.944l-10.88-0.48L512 288c-36 0-71.2 5.12-105.632 15.456L355.936 253.12A430.4 430.4 0 0 1 512 224z m-94.464 270.784a96 96 0 0 0 111.68 111.68l-111.68-111.68zM512 352a160 160 0 0 1 152.224 209.376l-56.48-56.544a96 96 0 0 0-88.576-88.576l-56.512-56.512A159.872 159.872 0 0 1 512 352z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconBrowseOff.defaultProps = {
  size: 18,
};

export default IconBrowseOff;
